Repository navigation
feat(i18n): add Bulgarian language support - #3506
Merged
Merged
Conversation
aibott
marked this pull request as ready for review
December 1, 2026 10:14
aibott
force-pushed
the
feat/bg-localization
branch
from
December 1, 2026 13:48
12025c5 to
e7fc3b5
Compare
Contributor
|
good job! I like that you used the UI locale and not the browser's native locale. I'll merge and we can fix forward if necessary |
Author
|
Thank you, proddy! I really appreciate the feedback and the quick merge. I'm happy to see Bulgarian support become part of EMS-ESP. I'll continue testing it on my setup and will be happy to help with any follow-up improvements if needed. Thanks again for all your work on the project! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi everyone,
Thank you for all the work on EMS-ESP! I use EMS-ESP with my Bosch Condens 2300 boiler and would like to contribute Bulgarian (
bg) language support so Bulgarian-speaking users can monitor and configure their heating systems in their native language.Summary
Bulgarian translations and registration
interface/src/i18n/bg/index.ts) covering all 770 Web UI keys with Bulgarian plural rules and consistent terminology (10,093 bytes / ~10.1 KB compressed for the Bulgarian locale chunk; locale chunk size only, not total PR overhead).bgcolumn across all 874 translated device, entity, and word entries insrc/core/locale_translations.h(including localizedБГВandОКcircuit tags), registeredEMSESP_LOCALE_BGinsrc/core/system.cpp, and respected existing UTF-8 byte buffer limits for booleans and command logging.README.md, andCHANGELOG_LATEST.md. Generated files (WWWData.h,i18n-*.ts*) remain untracked per.gitignore.Supporting localization changes
БГВandОКcircuit-tag support for grouping and prefix stripping in both Admin and Guest views while keeping untagged labels and user-defined names containing spaces intact. Added'вкл.'to active boolean detection, and sentence-cased the two Bulgarian maintenance labels on the Dashboard Notes card (Режим на обслужване,Време до следващо обслужване) without modifying lowercase core entity names.interface/src/utils/time.tsand its UI call sites so dates and numbers follow the selected UI locale (for example,DD.MM.YYYY, decimal comma, and space thousands grouping in Bulgarian) while keeping editable inputs, API payloads, and MQTT values unchanged. Note that this intentionally adapts displayed date and number formatting across other languages according to the active UI locale.Testing
typesafe-i18n, Prettier,tsc --noEmit,eslint .(0 errors), English casing check, and the production Web UI build (vite build+progmem-generator.js+size-report.js).s_16Mtarget (original ESP32, 16 MB flash, no PSRAM) directly from this rebasedv3.10.0-dev.15submission with 0 C/C++ compiler warnings.s_16Mv3.10.0-dev.14(r5) build on my EMS gateway connected to a Bosch Condens 2300 boiler and reviewed the Bulgarian desktop Web UI across Dashboard, Devices, Sensors, Customizations, Commands, Scheduler, Custom Entities, Status, Settings, Help, and Profile. The live screenshots below were captured from thatdev.14r5 build; the rebasedv3.10.0-dev.15candidate was verified with automated UI regression testing and a freshs_16Mfirmware build. Not every EMS device type or physical control command was tested on hardware.native-test,native-fuzz) were not run locally on Windows and remain pending in GitHub Actions.Screenshots
Dashboard overview (live desktop capture with Bosch Condens 2300) showing Hot Water, Heating, and Service cards, including complete Bulgarian maintenance labels (
Режим на обслужванеandВреме до следващо обслужване).User Profile page showing Bulgarian (
Български) selected in the language grid and the browser-scope subtitle (Променя езика само в този браузър).Devices page displaying live Bosch Condens 2300 parameters with Bulgarian entity translations and localized values.
Scheduler dialog showing Bulgarian schedule types, weekday abbreviations, callouts, and actions.
Test setup
Custom ESP32 EMS gateway used for the live UI review with a Bosch Condens 2300.
Thanks again for maintaining EMS-ESP — I am happy to adjust any Bulgarian wording or implementation details after review.
Checklist
devbranch.CHANGELOG_LATEST.mdandREADME.mdlanguage count updated.pr_check.ymlnative tests/fuzzing andwebui_check.yml) pass on the PR branch.CONTRIBUTING.md.